<template>
    <div class="home-header">
      <div class="home-location">
          <router-link to="/">
          <font-awesome-icon icon="map-marker-alt"></font-awesome-icon><span>浙江省金华市</span>
          <font-awesome-icon icon="chevron-down"></font-awesome-icon>
          </router-link>
        </div>
      <div class="home-weather">
       <a><font-awesome-icon icon="code"></font-awesome-icon><span>扫码</span></a>
       <a><font-awesome-icon icon="sun"></font-awesome-icon><span>32度</span></a>
      </div>
    </div>
</template>

<script>
export default {
  name: 'HomeHeader'
}
</script>

<style scoped lang="less">
.home-header{
  width: 100%;
  height: 50px;
  .home-location{
    float: left;
    width: 50%;
    height: 50px;
    line-height: 50px;
    a{
      font-size: 18px;
      color: #000;
      padding-left: 30px;
      display: inline-block;
      span{
        padding: 0 10px;
      }
    }
  }
  .home-weather{
    float: right;
    width: 50%;
    height: 50px;
    line-height: 50px;
    a{
      font-size: 18px;
      color: #000;
      padding-left: 50px;
      display: inline-block;
      span{
        padding: 0 10px;
      }
    }
  }
}
</style>
